const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
        '/api': {
            // target:"http://520it.com:8881/cms",
            target:process.env.VUE_APP_BASE_URL,
            pathRewrite: {
                '^/api': ''
            }
        }
    }
}
})


